package org.bookie.framework.mails;

import org.apache.tapestry.IRequestCycle;

/**
 * Rendered to sent an account registration confirmation email to the new user. 
 * Contains a URL which should be accessed by new user to proceed with account registration.
 */
public abstract class BetSlip extends CommonMailPage{

	/**
	 * {@inheritDoc}
	 */
	public void activateExternalPage(Object[] parameters, IRequestCycle cycle) {
		super.activateExternalPage(parameters, cycle);
		setUsername((String) parameters[0]);
		setSlip((org.bookie.model.BetSlip) parameters[1]);
	}
	
	public abstract void setSlip(org.bookie.model.BetSlip slip);
	
	public abstract void setUsername(String username);
	
}
